package annotation;

import org.springframework.stereotype.Component;

import java.lang.annotation.*;

/**
 * @Title:
 * @Description: 处理器上面的注解
 * @Author Fay Wang
 * @Date 2022/9/13 23:56
 * @Version 1.0
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface WithColaStateMachineProcess {
    /**
     * 状态机的名称
     * @return
     */
    String name();

    /**
     * 类型
     * @return
     */
    String bizType() default "";
}
